<?php 
namespace Admin\Model;
use Think\Model;

class UsersModel extends Model{
	public $_validate = array(
			array('username','3,12','用户名必须3到12位',1,'length',3),
			array('email','email','邮箱不合法',1,'regex',3),
			array('pwd','6,16','密码长度必须6到16位',1,'length',3),
			array('repwd','pwd','两次密码不一致',1,'confirm',3)
		);
}